package com.hnas.ecard.dao;

import java.util.List;

import com.hnas.core.dao.BaseDao;
import com.hnas.ecard.orm.AccECard;

public interface AccECardDAO extends BaseDao<AccECard> {

	/**
	 * 通过sql查询
	 * @param sql
	 * @return
	 */
	List<AccECard> findByECardSql(AccECard vo);
	
	AccECard saveOrUpdate(AccECard vo) throws Exception;
	
	/**
	 * 通过sql查询
	 * @param sql
	 * @return
	 */
	List<AccECard> searchECardSql(AccECard vo);
	
}
